//
//  PrintFactoryAppDelegate.h
//  PrintFactory
//
//  Created by edaihua on 16/2/26.
//  Copyright © 2016年 ___PrintFactory___. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "RESTfulEngine.h"

#define AppDelegate ((PrintFamilyAppDelegate *)[UIApplication sharedApplication].delegate)

@interface PrintFamilyAppDelegate : UIResponder <UIApplicationDelegate>

@property (strong, nonatomic) UIWindow *window;

@property (strong, nonatomic) RESTfulEngine *engine;

- (CGSize)getScreenSize;
- (UIAlertController*)createAlertControllerWithMessage:(NSString*)message;
- (UIAlertController*)createAlertControllerWithMessage:(NSString*)message confirmHandler:(void (^ __nullable)(UIAlertAction *action))handler;

@end
